package com.yzjs.base;



import com.fasterxml.jackson.annotation.JsonProperty;
import com.yzjs.enumeration.BestPayPlatformEnum;

import java.net.URI;

public class PayResponse {
    private String prePayParams;
    private URI payUri;
    private String appId;
    private String timeStamp;
    private String nonceStr;
    @JsonProperty("package")
    private String packAge;
    private String signType;
    private String paySign;
    private Double orderAmount;
    private String orderId;
    private String outTradeNo;
    private String mwebUrl;
    private String body;
    private String codeUrl;
    private String attach;
    private BestPayPlatformEnum payPlatformEnum;

    public PayResponse() {
    }

    public String getPrePayParams() {
        return this.prePayParams;
    }

    public URI getPayUri() {
        return this.payUri;
    }

    public String getAppId() {
        return this.appId;
    }

    public String getTimeStamp() {
        return this.timeStamp;
    }

    public String getNonceStr() {
        return this.nonceStr;
    }

    public String getPackAge() {
        return this.packAge;
    }

    public String getSignType() {
        return this.signType;
    }

    public String getPaySign() {
        return this.paySign;
    }

    public Double getOrderAmount() {
        return this.orderAmount;
    }

    public String getOrderId() {
        return this.orderId;
    }

    public String getOutTradeNo() {
        return this.outTradeNo;
    }

    public String getMwebUrl() {
        return this.mwebUrl;
    }

    public String getBody() {
        return this.body;
    }

    public String getCodeUrl() {
        return this.codeUrl;
    }

    public String getAttach() {
        return this.attach;
    }

    public BestPayPlatformEnum getPayPlatformEnum() {
        return this.payPlatformEnum;
    }

    public void setPrePayParams(String prePayParams) {
        this.prePayParams = prePayParams;
    }

    public void setPayUri(URI payUri) {
        this.payUri = payUri;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public void setPackAge(String packAge) {
        this.packAge = packAge;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public void setMwebUrl(String mwebUrl) {
        this.mwebUrl = mwebUrl;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public void setPayPlatformEnum(BestPayPlatformEnum payPlatformEnum) {
        this.payPlatformEnum = payPlatformEnum;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PayResponse)) {
            return false;
        } else {
            PayResponse other = (PayResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label203: {
                    Object this$prePayParams = this.getPrePayParams();
                    Object other$prePayParams = other.getPrePayParams();
                    if (this$prePayParams == null) {
                        if (other$prePayParams == null) {
                            break label203;
                        }
                    } else if (this$prePayParams.equals(other$prePayParams)) {
                        break label203;
                    }

                    return false;
                }

                Object this$payUri = this.getPayUri();
                Object other$payUri = other.getPayUri();
                if (this$payUri == null) {
                    if (other$payUri != null) {
                        return false;
                    }
                } else if (!this$payUri.equals(other$payUri)) {
                    return false;
                }

                Object this$appId = this.getAppId();
                Object other$appId = other.getAppId();
                if (this$appId == null) {
                    if (other$appId != null) {
                        return false;
                    }
                } else if (!this$appId.equals(other$appId)) {
                    return false;
                }

                label182: {
                    Object this$timeStamp = this.getTimeStamp();
                    Object other$timeStamp = other.getTimeStamp();
                    if (this$timeStamp == null) {
                        if (other$timeStamp == null) {
                            break label182;
                        }
                    } else if (this$timeStamp.equals(other$timeStamp)) {
                        break label182;
                    }

                    return false;
                }

                label175: {
                    Object this$nonceStr = this.getNonceStr();
                    Object other$nonceStr = other.getNonceStr();
                    if (this$nonceStr == null) {
                        if (other$nonceStr == null) {
                            break label175;
                        }
                    } else if (this$nonceStr.equals(other$nonceStr)) {
                        break label175;
                    }

                    return false;
                }

                label168: {
                    Object this$packAge = this.getPackAge();
                    Object other$packAge = other.getPackAge();
                    if (this$packAge == null) {
                        if (other$packAge == null) {
                            break label168;
                        }
                    } else if (this$packAge.equals(other$packAge)) {
                        break label168;
                    }

                    return false;
                }

                Object this$signType = this.getSignType();
                Object other$signType = other.getSignType();
                if (this$signType == null) {
                    if (other$signType != null) {
                        return false;
                    }
                } else if (!this$signType.equals(other$signType)) {
                    return false;
                }

                label154: {
                    Object this$paySign = this.getPaySign();
                    Object other$paySign = other.getPaySign();
                    if (this$paySign == null) {
                        if (other$paySign == null) {
                            break label154;
                        }
                    } else if (this$paySign.equals(other$paySign)) {
                        break label154;
                    }

                    return false;
                }

                Object this$orderAmount = this.getOrderAmount();
                Object other$orderAmount = other.getOrderAmount();
                if (this$orderAmount == null) {
                    if (other$orderAmount != null) {
                        return false;
                    }
                } else if (!this$orderAmount.equals(other$orderAmount)) {
                    return false;
                }

                label140: {
                    Object this$orderId = this.getOrderId();
                    Object other$orderId = other.getOrderId();
                    if (this$orderId == null) {
                        if (other$orderId == null) {
                            break label140;
                        }
                    } else if (this$orderId.equals(other$orderId)) {
                        break label140;
                    }

                    return false;
                }

                Object this$outTradeNo = this.getOutTradeNo();
                Object other$outTradeNo = other.getOutTradeNo();
                if (this$outTradeNo == null) {
                    if (other$outTradeNo != null) {
                        return false;
                    }
                } else if (!this$outTradeNo.equals(other$outTradeNo)) {
                    return false;
                }

                Object this$mwebUrl = this.getMwebUrl();
                Object other$mwebUrl = other.getMwebUrl();
                if (this$mwebUrl == null) {
                    if (other$mwebUrl != null) {
                        return false;
                    }
                } else if (!this$mwebUrl.equals(other$mwebUrl)) {
                    return false;
                }

                label119: {
                    Object this$body = this.getBody();
                    Object other$body = other.getBody();
                    if (this$body == null) {
                        if (other$body == null) {
                            break label119;
                        }
                    } else if (this$body.equals(other$body)) {
                        break label119;
                    }

                    return false;
                }

                label112: {
                    Object this$codeUrl = this.getCodeUrl();
                    Object other$codeUrl = other.getCodeUrl();
                    if (this$codeUrl == null) {
                        if (other$codeUrl == null) {
                            break label112;
                        }
                    } else if (this$codeUrl.equals(other$codeUrl)) {
                        break label112;
                    }

                    return false;
                }

                Object this$attach = this.getAttach();
                Object other$attach = other.getAttach();
                if (this$attach == null) {
                    if (other$attach != null) {
                        return false;
                    }
                } else if (!this$attach.equals(other$attach)) {
                    return false;
                }

                Object this$payPlatformEnum = this.getPayPlatformEnum();
                Object other$payPlatformEnum = other.getPayPlatformEnum();
                if (this$payPlatformEnum == null) {
                    if (other$payPlatformEnum != null) {
                        return false;
                    }
                } else if (!this$payPlatformEnum.equals(other$payPlatformEnum)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PayResponse;
    }


    public String toString() {
        return "PayResponse(prePayParams=" + this.getPrePayParams() + ", payUri=" + this.getPayUri() + ", appId=" + this.getAppId() + ", timeStamp=" + this.getTimeStamp() + ", nonceStr=" + this.getNonceStr() + ", packAge=" + this.getPackAge() + ", signType=" + this.getSignType() + ", paySign=" + this.getPaySign() + ", orderAmount=" + this.getOrderAmount() + ", orderId=" + this.getOrderId() + ", outTradeNo=" + this.getOutTradeNo() + ", mwebUrl=" + this.getMwebUrl() + ", body=" + this.getBody() + ", codeUrl=" + this.getCodeUrl() + ", attach=" + this.getAttach() + ", payPlatformEnum=" + this.getPayPlatformEnum() + ")";
    }

}
